/*
 * @Description:
 * @version:
 * @Author: 尹鹏孝
 * @Date: 2023-10-28 09:56:48
 * @LastEditors: 尹鹏孝
 * @LastEditTime: 2023-10-28 09:57:23
 */
import { IsNotEmpty, IsNumber } from 'class-validator/types';
export class BaseQueryDto {
  @IsNotEmpty()
  @IsNumber()
  page: number;
  @IsNotEmpty()
  @IsNumber()
  pageSize: number;
}
// QueryUserDto.ts
export class QueryDto extends BaseQueryDto {
  createName: string;
}